package com.book.dao;

import com.book.pojo.ShopDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopDetailDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ShopDetail record);

    int insertSelective(ShopDetail record);

    ShopDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShopDetail record);

    int updateByPrimaryKey(ShopDetail record);

    List<ShopDetail> getUserShopCarDetail(String scCode);

    void updateCarBookNum(@Param("id") Integer id, @Param("num") int num,@Param("price") Double price);

    List<ShopDetail> getShopCarDetail(@Param("ids") List<Integer> ids);

}